<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <?php $this->load->view('header/css.php'); ?>
    <?php $this->load->view('header/js.php'); ?>
    
    <title><?=lang('home.'.$currentClass)?></title>

    <script type="text/javascript"> 
        // when the DOM is ready, convert the feed anchors into feed content 
        $(document).ready(function() { 
            $(document).ready(function() {
                $('#error-container').hide();
                var elems = $('#error-container ul').clone();
                elems.removeClass('prepend-1');
                elems.removeClass('span-15');
                
                if (elems.length > 0) {
                    $.pnotify({ 
                        pnotify_title: "Errors found",
                        pnotify_text: elems, 
                        pnotify_type: 'error', 
                        pnotify_hide: false 
                    });
                    $('.ui-pnotify-text').show();
                }

                $('#info-container').hide();
                var elems = $('#info-container ul').clone();
                elems.removeClass('prepend-1');
                elems.removeClass('span-15');
                
                if (elems.length > 0) {
                    $.pnotify({
                        pnotify_title: 'Information',
                        pnotify_text: elems,
                        pnotify_type: 'info', 
                    });
                    $('.ui-pnotify-text').show();
                }
            });
        }); 
    </script> 
</head>
<body class="">
<div id="page">
    <div id="header" class="clearfix">
            <div id="headerimg">
                <div  class="container" style="text-align: right">
                    <span class="span-2"><img src="/images/favl_logo_small.gif" style="margin-top: -5px" /></span>
                    <h1><?=lang('home.'.$currentClass)?></h1>
                </div>
            </div>
        <div id="navigation">
            <div class="container">
                <?php $this->load->view('menu/navigation.php'); ?> 
                <h3 class="alt welcome-message"><?=lang('home.Welcome')?><?php echo anchor('profile/person/edit/'.$userid, $user);?></h3>
            </div>
        </div>
    </div><!-- /#header -->
    